package ch3;

import java.util.Scanner;

public class Prize2 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("请输入张浩的java成绩：");
		int java = in.nextInt();
		System.out.println("请输入音乐成绩：");
		int music = in.nextInt();
		if (java > 90 && music > 80 || java == 100 && music > 70) {
			System.out.println("iphone12作为奖励");
		}
	}

}
